package com.dhwl.hsh.lib.bean.resp;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by hjd on 2016/5/26.
 */
public class HtmlUrlResp implements Serializable, Parcelable {

    String contractUrl;//商户端-汇送货商户端合同 url
    String agreementUrl;//商户端-汇送货商户协议url
    String clauseUrl;//汇送货司机岗条款url
    String payClauseUrl;//汇送货司机赔付条款url
    String servicesUrl;//汇送货服务协议url
    String questionUrl;//常见问题url

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getAgreementUrl() {
        return agreementUrl;
    }

    public void setAgreementUrl(String agreementUrl) {
        this.agreementUrl = agreementUrl;
    }

    public String getClauseUrl() {
        return clauseUrl;
    }

    public void setClauseUrl(String clauseUrl) {
        this.clauseUrl = clauseUrl;
    }

    public String getPayClauseUrl() {
        return payClauseUrl;
    }

    public void setPayClauseUrl(String payClauseUrl) {
        this.payClauseUrl = payClauseUrl;
    }

    public String getServicesUrl() {
        return servicesUrl;
    }

    public void setServicesUrl(String servicesUrl) {
        this.servicesUrl = servicesUrl;
    }

    public String getQuestionUrl() {
        return questionUrl;
    }

    public void setQuestionUrl(String questionUrl) {
        this.questionUrl = questionUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.contractUrl);
        dest.writeString(this.agreementUrl);
        dest.writeString(this.clauseUrl);
        dest.writeString(this.payClauseUrl);
        dest.writeString(this.servicesUrl);
        dest.writeString(this.questionUrl);
    }

    public HtmlUrlResp() {
    }

    protected HtmlUrlResp(Parcel in) {
        this.contractUrl = in.readString();
        this.agreementUrl = in.readString();
        this.clauseUrl = in.readString();
        this.payClauseUrl = in.readString();
        this.servicesUrl = in.readString();
        this.questionUrl = in.readString();
    }

    public static final Parcelable.Creator<HtmlUrlResp> CREATOR = new Parcelable.Creator<HtmlUrlResp>() {
        @Override
        public HtmlUrlResp createFromParcel(Parcel source) {
            return new HtmlUrlResp(source);
        }

        @Override
        public HtmlUrlResp[] newArray(int size) {
            return new HtmlUrlResp[size];
        }
    };
}
